import { getLabelByVal } from '@/utils/commons'

export const workstage = [
  { label:'打印', value:1 },
  { label:'工厂前台', value:2 },
  { label:'成品分拣', value:3 },
  { label:'出货扫描', value:4 },
  { label:'分拣', value:5 },
]

export const schedule = [
  {label:'完成',value:1,status: 'success'},
  {label:'未完成',value:0,status:'danger'},
]

export const GRIDSTATUS = [
  {label:'启用',value:1,status: 'success',},
  {label:'停止',value:0,status:'danger',},
]


export const getGridStatus = getLabelByVal(GRIDSTATUS)

